package com.huifaapp.mall.bean;

import java.io.Serializable;
import java.util.List;


public class CategoryBean implements Serializable {
    /**
     * msg : 请求成功！
     * code : 10000
     * data : [{"id":"4d6c06e3ebe749039a736b3f9032c6fa","codeid":"000","name":"推荐","categorySubs":[{"codeid":"10001","img":"http://file.jhjvip.cn/images/nan.jpg","name":"男装","id":"188dabd52420415ba25ffa5fda32e951"},{"codeid":"10002","img":"","name":"美妆个护","id":"76"},{"codeid":"10003","img":"","name":"男装","id":"441"},{"codeid":"10004","img":"","name":"居家生活","id":"134"},{"codeid":"10005","img":"","name":"食品保健","id":"87"},{"codeid":"10006","img":"","name":"数码电器","id":"713255e47563428dbfd7224ae4d7a1d5"},{"codeid":"10007","img":"","name":"运动户外","id":"214"},{"codeid":"10008","img":"","name":"母婴玩具","id":"51"},{"codeid":"10009","img":"","name":"鞋品箱包","id":"178"}]},{"id":"188dabd52420415ba25ffa5fda32e951","codeid":"10001","name":"男装","categorySubs":[]}]
     */

    private String msg;
    private String code;
    private List<DataBean> data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 4d6c06e3ebe749039a736b3f9032c6fa
         * codeid : 000
         * name : 推荐
         * categorySubs : [{"codeid":"10001","img":"http://file.jhjvip.cn/images/nan.jpg","name":"男装","id":"188dabd52420415ba25ffa5fda32e951"},{"codeid":"10002","img":"","name":"美妆个护","id":"76"},{"codeid":"10003","img":"","name":"男装","id":"441"},{"codeid":"10004","img":"","name":"居家生活","id":"134"},{"codeid":"10005","img":"","name":"食品保健","id":"87"},{"codeid":"10006","img":"","name":"数码电器","id":"713255e47563428dbfd7224ae4d7a1d5"},{"codeid":"10007","img":"","name":"运动户外","id":"214"},{"codeid":"10008","img":"","name":"母婴玩具","id":"51"},{"codeid":"10009","img":"","name":"鞋品箱包","id":"178"}]
         */

        private String id;
        private String codeid;
        private String name;
        private List<CategorySubsBean> categorySubs;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getCodeid() {
            return codeid;
        }

        public void setCodeid(String codeid) {
            this.codeid = codeid;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public List<CategorySubsBean> getCategorySubs() {
            return categorySubs;
        }

        public void setCategorySubs(List<CategorySubsBean> categorySubs) {
            this.categorySubs = categorySubs;
        }

        public static class CategorySubsBean {
            /**
             * codeid : 10001
             * img : http://file.jhjvip.cn/images/nan.jpg
             * name : 男装
             * id : 188dabd52420415ba25ffa5fda32e951
             */

            private String codeid;
            private String img;
            private String name;
            private String id;

            public String getCodeid() {
                return codeid;
            }

            public void setCodeid(String codeid) {
                this.codeid = codeid;
            }

            public String getImg() {
                return img;
            }

            public void setImg(String img) {
                this.img = img;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }
        }
    }

//
//    /**
//     * code : 0
//     * data :
//     */
//
//    private String msg;
//    private String code;
//    private List<DataBean> data;
//
//    public String getMsg() {
//        return msg;
//    }
//
//    public void setMsg(String msg) {
//        this.msg = msg;
//    }
//
//    public String getCode() {
//        return code;
//    }
//
//    public void setCode(String code) {
//        this.code = code;
//    }
//
//    public List<DataBean> getData() {
//        return data;
//    }
//
//    public void setData(List<DataBean> data) {
//        this.data = data;
//    }
//    public class DataBean{
//        private String id;
//        private String codeid;
//        private String name;
//        private List<CategorySubs> categorySubs;
//
//        public String getId() {
//            return id;
//        }
//
//        public void setId(String id) {
//            this.id = id;
//        }
//
//        public String getCodeid() {
//            return codeid;
//        }
//
//        public void setCodeid(String codeid) {
//            this.codeid = codeid;
//        }
//
//        public String getName() {
//            return name;
//        }
//
//        public void setName(String name) {
//            this.name = name;
//        }
//
//        public List<CategorySubs> getCategorySubs() {
//            return categorySubs;
//        }
//
//        public void setCategorySubs(List<CategorySubs> categorySubs) {
//            this.categorySubs = categorySubs;
//        }
//        public class CategorySubs{
//            private String codeid;
//            private String img;
//            private String name;
//            private String id;
//
//            public String getCodeid() {
//                return codeid;
//            }
//
//            public void setCodeid(String codeid) {
//                this.codeid = codeid;
//            }
//
//            public String getImg() {
//                return img;
//            }
//
//            public void setImg(String img) {
//                this.img = img;
//            }
//
//            public String getName() {
//                return name;
//            }
//
//            public void setName(String name) {
//                this.name = name;
//            }
//
//            public String getId() {
//                return id;
//            }
//
//            public void setId(String id) {
//                this.id = id;
//            }
//        }
//    }
}
